High resolution time-to-digital convertor

ABSTRACT

A circuit includes a time delta detector configured to receive an input clock signal and a reference clock signal and generate a delta pulse signal and a reference pulse signal. A comparison circuit is configured to receive the delta pulse signal and the reference pulse signal. The comparison circuit generates an output indicative of a bit of a time difference between the input clock signal and the reference clock signal. A control circuit is configured to receive the output from the comparison circuit. The control circuit maintains a count of the time difference between the input clock signal and the reference clock signal.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a divisional of U.S. application Ser. No.14/689,096, filed on Apr. 17, 2015, and entitled “HIGH RESOLUTIONTIME-TO-DIGITAL CONVERTOR,” the disclosure of which is incorporatedherein in its entirety.

BACKGROUND

In integrated circuits (“ICs”), a time-to-digital convertor (TDC)includes a circuit configured to recognize events and provide a digitalrepresentation of the timing of the event. For example, a TDC may beconfigured to output the time of arrival for one or more incomingpulses. TDCs may be used in many different applications in which a timeinterval between two or more signal pulses (such as, for example, startand stop pulses) needs to be determined.

Current TDC circuits include an inverter as a basic timing unit.Inverters include one or more gates that introduce a gate delay into thecircuit. The gate delay of current inverter circuits is defined bylimitations of a CMOS process used to fabricate the gates. TDC circuitsfabricated using CMOS processes are limited by the capacitance between adevice's gate and channel and also by the resistance of the channel andthe signal traces. For example, for 10 nm technology, the CMOS processintroduces a best-case inverter gate delay in the picosecond range, suchas, for example, 10 psecs.

BRIEF DESCRIPTION OF THE DRAWINGS

The present disclosure is best understood from the following detaileddescription when read in conjunction with the accompanying drawings. Itis emphasized that, according to common practice, the various featuresof the drawing are not necessarily to scale. On the contrary, thedimensions of the various features are arbitrarily expanded or reducedfor clarity. Like numerals denote like features throughout thespecification and drawing.

FIG. 1 illustrates one example embodiment of a time-to-digital convertor(TDC) circuit including a time delta detector and a comparison circuit.

FIG. 2 illustrates one embodiment of the time delta detector of the TDCcircuit of FIG. 1.

FIG. 3 illustrates one embodiment of the F_(ref) predictor circuit ofFIG. 2.

FIG. 4 illustrates one embodiment of the comparison circuit of the TDCcircuit of FIG. 1.

FIG. 5 illustrates one embodiment of an operational timing diagram ofthe TDC circuit of FIG. 1.

FIG. 6 illustrates one example embodiment of a TDC circuit including aspatial division multiplexing (SDM) circuit.

FIG. 7 illustrates one embodiment of the SDM circuit of the TDC circuitof FIG. 6.

FIG. 8 is a flowchart illustrating one embodiment of a method forcounting a time delay between a first input signal and a second inputsignal.

DETAILED DESCRIPTION

This description of the exemplary embodiments is intended to be read inconnection with the accompanying drawings, which are to be consideredpart of the entire written description.

In one embodiment, the disclosed time-to-digital convertor (TDC)circuits are configured to provide TDC resolution of better than atleast 10 psecs. In some embodiments, the TDC circuit includes a timedelta detector and a comparison circuit. In other embodiments, the TDCcircuit includes a pulse generator, a spatial division multiplexing(SDM) circuit, and a counter.

FIG. 1 illustrates one embodiment of a TDC circuit 2 including a timedelta detector 4 and a comparison circuit 6. The TDC circuit 2 isconfigured to generate a time difference count between the rising edgesof two clock signals, such as, for example, an input clock signal 8 anda reference clock signal 10. The time difference count is generated bycomparing a voltage developed over the period of an input, or delta,pulse to a voltage developed over the period of a reference pulse. Thedelta pulse and the reference pulse are related to the input clocksignal 8 and the reference clock signal 10, respectively. One of the twoclock signals, such as the input clock signal 8, may be multiple timesfaster, e.g., have a higher frequency, than the second signal, such asthe reference clock signal. The TDC circuit 2 includes a time deltadetector 4. The time delta detector 4 includes a pulse generatorconfigured to generate one or more pulses based on the input clocksignal 8 and the reference clock signal 10. For example, in oneembodiment, the time delta detector 4 generates one or more outputsignals based on a time delta, or difference, between the input clocksignal 8 and the reference clock signal 10. In some embodiments, thetime delta detector 4 generates a delta pulse signal 12, a referencepulse signal 14, a polarity signal 36 (see FIG. 2), and/or a dump pulsesignal 38 (see FIG. 2). The delta pulse signal 12 and the referencepulse signal 14 are provided to the comparison circuit 6.

The comparison circuit 6 is configured to generate a comparison resultsignal 16. The comparison result signal 16 is indicative of one or morebits of a binary count of the time difference between the input clocksignal 8 and the reference clock signal 10. The comparison result signal16 may be generated by, for example, comparing voltage values generatedover the pulse periods of the delta pulse signal 12 and the referencepulse signal 14, as discussed in more detail below. The comparisonresult signal 16 is provided to a stand-alone regulator (SAR) controlcircuit 18. The SAR control circuit 18 is configured to maintain thecount of the time difference between the rising edges of the input clocksignal 8 and the reference clock signal 10. The SAR control circuit 18can comprise internal circuitry (not shown) configured to maintain thecount of the time difference, such as, for example, one or moreregisters, latches, and/or any other suitable circuitry for storing abinary count. The SAR control circuit 18 is further configured togenerate control signals 62 for the comparison circuit 6 to control theweighting of the comparison signal 16. For example, in some embodiments,the SAR control circuit 18 is configured to adjust a circuit value, suchas, for example, capacitance of a circuit, to adjust the voltagesgenerated over the pulse periods of the delta pulse signal 12 and/or thereference pulse signal 14 to advance the comparison signal 16 from amost-significant bit (MSB) of the count to a least-significant bit(LSB), as discussed in more detail below with respect to FIG. 4. Afterall bits of the count (e.g., MSB to LSB) have been determined andstored, the SAR control circuit 18 generates a final conversion resultsignal 72 to output the count to one or more additional circuits. Thefinal conversion result signal 72 may output the bits of the count inserial and/or parallel.

FIG. 2 illustrates one embodiment of a time delta detector 4 a. The timedelta detector 4 a receives the input clock signal 8 and the referenceclock signal 10 and generates one or more output signals, such as, forexample, a delta pulse signal 12, a reference pulse signal 14, apolarity signal 36, and a dump pulse signal 38. The time delta detector4 a generates the delta pulse signal 12 by comparing input clock signal8 and the reference clock signal 10. A reference frequency (F_(ref))predictor circuit 22 generates a predictor out signal 64, a dump pulsesignal 38, and a delayed reference clock signal 86. The predictor outsignal 64 is a frequency reference clock signal. In some embodiments,the F_(ref) predictor circuit 22 is a phase-lock loop (PLL) circuit andthe predictor out signal 64 is a PLL output. The predictor out signal 64and the input clock signal 8 are provided to an AND gate 24. In someembodiments, the output of the AND gate 24 is the reference pulse signal14.

The output of the AND gate 24 is provided to a first flip-flop (oredge-triggered latch) 26 a as a clock input. When the output of the ANDgate 24 transitions to a high value, e.g., the input clock signal 8 andthe F_(ref) predictor out signal 64 are simultaneously high, the firstflip-flop 24 latches a high value. A second flip-flop 26 b receives thedelayed reference clock signal 86 as a clock input. When the delayedreference clock signal 86 transitions from a low value to a high value,e.g., on a leading edge of the delayed reference clock signal 86, thesecond flip-flop 26 b latches a high value. In some embodiments, theclock input of the second flip-flop 26 b is coupled directly to thereference clock signal 10. The outputs of the first and secondflip-flops 26 a, 26 b are provided to an XOR gate 28. The XOR gate 28compares the values latched by the first and second latches 26 a, 26 band outputs the delta pulse signal 12. The delta pulse signal 12 is highwhen only one of the first flip-flop 26 a or the second flip-flop 26 bis a high value.

The output of the first flip-flop 26 a and the second flip-flop 26 b arefurther provided to an AND gate 30. The output of the AND gate 30 iscoupled to the clear (or reset) inputs of each of the first flip-flop 26a and the second flip-flop 26 b. When both the first flip-flop 26 a andthe second flip-flop 26 b latch high values, the AND gate 30 resets theflips-flops 26 a, 26 b. The output of the second flip-flop 26 b isprovided as a clock signal to a third flip-flop 34. The input of thethird flip-flop 34 is coupled to the output of the first flip-flop 26 a.When the second flip-flop 26 b transitions to a high value, the thirdflip-flop 34 latches the value of the output of the first flip-flop 26a. The output of the third flip-flop 34 is a polarity signal 36. Thepolarity signal 36 is high, e.g., the output of the third flip-flop 34is high, when the input clock signal 8 leads the reference clock signal10. The polarity signal 36 is low, e.g., the output of the thirdflip-flop 34 is low, when the input clock signal 8 lags behind thereference clock signal 10. The polarity signal 36 may be provided to oneor more additional circuits, such as, for example, one or moreadditional circuits coupled to the final conversion result signal 72.The polarity signal 36 may be used by the one or more additionalcircuits to identify which clock signal, e.g., the input clock signal 8or the reference clock signal 10, leads.

In operation, the delta pulse signal 12 is generated as follows. Thefirst and second flip-flops 26 a, 26 b are initially set to low (orzero) output values at a time t₀. At time t₁, the input clock signal 8and the predictor out signal 64 are both high, causing the output of theAND gate 24 to transition to a high value. The predictor out signal 64is high when the reference clock signal 10 is high and a delayedreference clock signal (see FIG. 3) is low. The transition of the ANDgate 24 to a high output causes the first flip-flop 26 a to latch a highvalue at the output Q. Also at time t₁, the output of the secondflip-flop 26 b is at an initial low value, resulting in the output ofthe XOR gate 28 to transition to a high value, corresponding to a highvalue for the delta pulse signal 12. At a time t₂, the delayed referenceclock signal 86 transitions from a low value to a high value, causingthe second flip-flop 26 b to latch a high value at the output Q. Thehigh output at both the first flip-flop 26 a and the second flip-flop 26b has two effects: (i) causing the output of the XOR gate 28, andtherefore the delta pulse signal 12, to transition to a low value; and(ii) causing the output of the AND gate 30 to transition to a highvalue. The high output of the AND gate 30 resets the first and secondflip-flops 26 a, 26 b, placing the time delta detector 4 a in theinitial state prior to the next rising edge of the input clock signal 8and the reference clock signal 10.

In operation, the reference pulse signal 14 is generated as follows. Attime t₀, the output of the AND gate 24 is low (as both the input clocksignal 8 and the predictor out signal 64 are initially low). At time t₁,the input clock signal 8 and the predictor out signal 64 aresimultaneously high, causing the output of the AND gate 24 to transitionto a high value. As noted above, the predictor out signal 64 is highwhen the reference clock signal 10 is high and a delayed reference clocksignal (see FIG. 3) is low. The reference pulse 14 is tied to the outputof the AND gate 24 and transitions to a high value at time t₁. At timet₂, one of the input clock signal 8 and/or the predictor out signal 64transitions to low, causing the output of the AND gate 24 and thereference pulse signal 14 to transition to a low value.

FIG. 3 illustrates one embodiment of a F_(ref) predictor circuit 22 a.The F_(ref) predictor circuit 22 a is configured to generate thepredictor out signal 64, the dump pulse signal 38, and the delayedreference clock signal 86. The predictor out signal 64 is generated byan AND gate 80. The AND gate 80 receives the reference clock signal 10as a first input. The reference clock signal 10 is also provided to afirst delay circuit 82 a. The first delay circuit 82 a introduces afirst predetermined delay into the reference clock signal 10. The outputof the first delay circuit 82 is the delayed reference clock signal 86.The delayed reference clock signal 86 is further provided to a seconddelay circuit 82 b. The second delay circuit 82 b introduces a secondpredetermined delay into the delayed reference clock signal 86. Theoutput of the second delay circuit 82 b is a twice-delayed referenceclock signal 88. The twice-delayed reference clock signal 88 is providedto an input of the AND gate 80. The twice-delayed reference clock signal88 is inverted at the input of the AND gate 80. The delays of the firstdelay circuit 82 a and the second delay circuit 82 b are determinedbased on a window of the desired predictor out signal 64. For example,in one embodiment, the delays of the first delay circuit 82 a and thesecond delay circuit 82 b are selected such that the frequency of theinput clock signal 8 and the predictor out signal 64 are the same.

The F_(ref) predictor 22 a is further configured to generate a dumppulse signal 38. The dump pulse signal 38 is generated by a NOR gate 84.The nor gate 84 receives the reference clock signal 10 as a first inputand the twice-delayed reference clock signal 88 as a second input. Thetwice-delayed reference clock signal 88 is inverted at the input of theNOR gate 84. In some embodiments, the dump pulse signal 38 is providedto the comparison circuit 6 as a reset signal.

FIG. 4 illustrates one embodiment of a comparison circuit 6 a. Thecomparison circuit is configured to compare the pulse time of the deltapulse 12, T_(x), with the pulse time of the reference pulse 14, T_(ref),to count the time difference between the leading edge of the input clocksignal 8 and the reference clock signal 10. The comparison circuit 6 aincludes a comparator 52 configured to compare a reference voltage 54 toa delta voltage 56. Each of the reference voltage 54 and the deltavoltage 56 are generated by charging sources 40 a and 40 b,respectively. The charging sources 40 a and 40 b may include, forexample, identical current sources. Each of the charging sources 40 a,40 b are coupled to the comparator 52 by switches 42 a and 42 b,respectively.

The first charging source 40 a is configured to generate a delta voltageat a first input of the comparator 52. The first charging source 40 a iscoupled to the comparator 52 by a first switch 42 a. The first switch 42a is controlled by the delta pulse 12. A plurality of switches 46 a-46 cand a plurality of capacitors 48 a-48 c are coupled in parallel betweenthe first charging source 40 a and the comparator 52. When the firstswitch 42 a is closed, the charging source 40 a can charge a set of theplurality of capacitors 48 a-48 c when each have a corresponding switch46 a-46 c in a closed position. For example, in one embodiment, if thefirst capacitor switch 46 a and the first switch 42 a are closed, thefirst capacitor 48 a is charged. The first capacitor 48 a will continueto charge over the length of the delta pulse 12 or until the firstcapacitor 48 a is fully charged. The voltage developed by the capacitors48 a-48 c during the pulse period T_(x) of the delta pulse 12 isprovided to the comparator 52 as a first input, e.g., the delta voltage56.

Depending on which of the capacitor switches 46 a-46 c are closed, themaximum delta voltage 56 that can be applied to the first input of thecomparator 52 is adjusted, allowing multiple bits of a time differencecount to be determined (discussed in more detail below with respect tothe SAR control circuit 18.) In one embodiment, when the delta pulse 12is high, the first switch 42 a is in a closed position, allowing avoltage to be applied by the first charging source 40 a to the pluralityof capacitors 48 a-48 c. When the delta pulse 12 is low, the switch isopen and no current flows from the charging source to the capacitors 48a-48 c.

In some embodiments, the number of capacitors 48 a-48 c is related tothe maximum count period measureable by the TDC circuit 2. For example,in one embodiment, the comparison circuit 6 a includes a number ofcapacitors N. For example, as shown in FIG. 4, the comparison circuit 6a comprises three capacitors 48 a-48 c. The number of capacitors Ncorresponds to the number of bits available to count the time differencebetween the clock pulses, i.e., the number of bits of resolution in thefinal conversion result signal 72. For example, in one embodiment, whenthe comparison circuit 6 a includes N capacitors, the final conversionresult signal 73 comprises N bits. In some embodiments, the capacitors48 a-48 c include exponentially increasing capacitive values. Forexample, in the illustrated embodiment, the capacitors 48 a-48 c haveweighted values of {2^(N−1)C, 2^(N−2)C . . . C}, where C represents thecapacitance of capacitor 48C. In other embodiments, the capacitors 48a-48 c may include other exponential or non-exponential increasingcapacitive values. A dump switch 44 is coupled to the capacitors 48 a-48c and allows the capacitors 48 a-48 c to be discharged after the risingedge of both the input clock signal 8 and the reference clock signal 10have occurred. In one embodiment, the dump switch 44 is controlled bythe dump pulse signal 38 generated by, for example, the time deltadetector 4 a. Although three capacitors 48 a-48 c are illustrated, itwill be appreciated that the comparison circuit 6 a may have any numberof capacitors 48 a-48 c corresponding to any number of bits in the finalconversion result signal 72.

The second charging source 40 b is configured to provide a referencevoltage 54, or comparison voltage, to the comparator 52. A capacitor 50is coupled between the second charging source 40 b and the comparator52. A second switch 42 b is coupled between the second charging source40 b and the capacitor 50. The switch 42 b is controlled by thereference pulse 14. When the reference pulse 14 is high, the secondswitch 42 b is closed and the capacitor 50 begins to charge. Thecapacitor 50 continues charging until the reference pulse 14 transitionsto a low state and/or the capacitor 50 reaches a maximum voltage. Thevoltage of the capacitor 50 is applied to an input of the comparator 52as a reference voltage.

In one embodiment, the capacitance of the reference capacitor 50 isselected such that the reference voltage 54 has a higher maximum valuethan the highest possible delta voltage 56. For example, in theembodiment illustrated in FIG. 4, the delta voltage capacitors 48 a-48 chave relative values of {2^(N−1)C, 2^(N−2)C . . . C}. The capacitors 48a-48 c are connected in parallel, and therefore the maximum capacitivevalue of all of the delta capacitors 48 a-48 c is (2^(N)−1)C. Thereference capacitor 50 includes a capacitive value higher than the totalcapacitive value of all of the delta capacitors 48 a-48 c connected inparallel, such as, for example, 2^(N)C. Although a capacitive value of2^(N)C is discussed herein, it will be appreciated that other capacitivevalues higher than the total capacitive value of the delta capacitors48-48 c may be used. The higher capacitive value of the referencecapacitor 50 ensures that the reference voltage 54 can have a highermaximum value than the maximum delta voltage 56. In some embodiments,the time of the delta pulse, T_(x) is determined by the equation:T _(x)=2^(x−N) T _(ref)In other embodiments, the time of the delta pulse is determined by theequation:T _(x) =x·2^(−N) ·T _(ref)where T_(ref) is the pulse time of the reference pulse 14, and x is afinal control code of the SAR control circuit 18. In other words, thefinal control code x is an integer value indicating which of theswitches 46 a-46 c are closed by the SAR control circuit 18corresponding to the LSB of the time difference count, where1≦x≦2^(N)−1. The final control code x is determined by the SAR controlcircuit 18 during operation. The longer the delta pulse 12, the greaterthe value of the final control code x.

The output of the comparator 52 includes one bit of the binary timedifference count between the input clock signal 8 and the referenceclock signal 10. In the illustrated embodiment, when the delta voltage56 is higher than the reference voltage 54, the comparator 52 generatesa high, or logic 1 value, indicating that the current bit of the countis 1. If the value of the delta voltage 56 is lower than the referencevoltage 54, the comparator 52 generates a low, or logic 0, valueindicating that the current bit of the count is 0. The output of thecomparator 52 is provided to the SAR control circuit 18.

In some embodiments, the SAR control circuit 18 maintains a digitalcount of the time difference between the input clock pulse 4 and thereference clock pulse 6. For example, in some embodiments, the SARcontrol circuit 18 comprises one or more circuit elements, such as, forexample, registers, latches, and/or other suitable elements to store thebit values output by the comparison circuit 6. The SAR control circuit18 generates a plurality of weighting control signals 62, as shown inFIG. 1. The weighting control signals 62 adjust a maximum value of thedelta voltage 56 input to the comparator 52 to perform a binary searchto generate each bit of the time delay count, from the MSB to the LSB.For each additional delta capacitor 48 a-48 c that is open/closed, themaximum value of the delta voltage is varied, allowing each bit of thetime difference measurement to be sequentially determined, as describedin more detail below. After each pulse of the delta pulse signal 12, thedump pulse signal 38 allows the delta capacitors 48 a-48 c to dischargeand reset to measure a subsequent pulse.

In some embodiments, the delta capacitors 48 a-48 c are controlled andhence coupled to the first charging source 40 a by the SAR controlcircuit 18 based on the bit-position of the current bit within thebinary count and/or the comparator output of the previous bit. Forexample, in an initial state, the SAR control circuit 18 closes a firstswitch 46 a to couple a first delta capacitor 48 a to a first chargingsource 40 a. The first delta capacitor 40 a corresponds to a MSB(2^(N−1)) of the binary count of the time difference between the inputclock signal 8 and the reference clock signal 10. The first chargingsource 40 a charges the first delta capacitor 48 a for a predeterminedtime period, such as, for example, the pulse time T_(x) of the deltapulse 12. After the predetermined time period, the comparator 52compares the delta voltage 56 to the reference voltage 54. If thecomparator 52 output is 1 (e.g., the MSB of the binary count is a 1),the SAR control circuit closes a second switch 46 b corresponding to thenext-most significant bit (e.g., MSB-1). If the comparator output is 0(e.g., the MSB of the binary count is 0), the SAR control circuit closesthe second switch 46 b and opens the first switch 46 a.

The second delta capacitor 48 b corresponds to the second-mostsignificant bit (2^(N−2)). The second delta capacitor 48 b (and thefirst delta capacitor 48 a if connected) is charged by the firstcharging source 40 a for a predetermined time period, such as, forexample, the pulse time T_(x) of the delta pulse 12. After thepredetermined time period, the comparator 52 compares the delta voltage56 to the reference voltage 54. If the output of the comparator 52 ishigh (e.g., the MSB-1 is a binary 1), the SAR control circuit closes thethird switch 46 c while maintaining all of the previously closedswitches in a closed state (e.g., if the MSB was a binary 1, the firstswitch 46 a is maintained in a closed state). The SAR control circuit 18iterates through each of the bits of the binary count from the MSB tothe LSB. In some embodiments, the dump pulse 38 causes the deltacapacitors 48 a-48 c to discharge between each bit of the count. Inother embodiments, the dump pulse 38 discharges the delta capacitors 48a-48 c after the total binary count of the time difference isdetermined.

The SAR control circuit 18 receives a control clock input 60. Thecontrol clock input 60 resets the SAR control circuit 18 after a fallingedge of each of the input clock signal 8 and the reference clock signal10. For example, in one embodiment, the control clock input 60 isoperated at a frequency of N*F_(ref), e.g., the frequency of the controlclock is N times the frequency of the reference clock signal 14, where Nis the number of bits, or resolution, in the time difference count. Thefinal binary count of the time difference between the input clock signal8 and the reference clock signal 10 is output by the SAR control circuit18 as the final conversion result 72. The final conversion result 72 mayoutput each bit of the binary count serially and/or in parallel.

FIG. 5 illustrates one embodiment of an operational timing diagram 70 ofthe TDC circuit 2. The input clock signal 8 a and the reference clocksignal 10 a illustrate examples of the input clock signal 8 and thereference clock signal 10, respectively. The input clock signal 8 a andthe reference clock signal 10 a are provided to the time delta detector4 which generates the predictor out signal 64 a using a predictorcircuit, such as, for example, the F_(ref) predictor circuit 22illustrated in FIG. 2. The time delta detector 4 generates the deltapulse 12 a and the reference pulse 14 a. As shown in FIG. 5, the deltapulse 12 a is generated when the predictor signal 64 a is high, theinput clock signal 8 a is high, and the reference clock signal 10 a islow. A dump pulse signal 38 a is generated to reset the comparisoncircuit 6 on the falling edge of the reference clock signal 10 a.

As shown in FIG. 5, in one embodiment, the input clock signal 8 a leadsthe reference clock signal 10 a, i.e., a rising edge of the input clocksignal 8 a occurs before a rising edge of the reference clock signal 10a. The delta pulse 12 a corresponds to the time period between theleading edge of the input clock signal 8 a and the leading edge of thereference clock signal 10 a. As shown in FIG. 5, the delta signal 12 ais generated only during period between the rising edge of the inputclock signal 8 a and the rising edge of the reference clock signal 10 a.In other words, the delta pulse signal 12 a has a pulse time, T_(x)equal to the time difference between the input clock signal 8 a and thereference clock signal 10 a. The pulse time T_(x) of the delta pulsesignal 12 a is used to determine the count output by the comparisoncircuit 6.

As noted above, the dump pulse signal 38 a is generated to reset thecomparison circuit 6. The dump pulse signal 38 a is generated after afalling edge of the input clock signal 8 a and a falling edge of thereference clock signal 10 a have occurred. The dump pulse signal 38 a ismaintained for a pulse period of T_(dump). In some embodiments, T_(dump)may be adjusted such that the pulse period T_(dump) comprises apredetermined time period sufficient for all one or more of thecapacitors 48 a-48 c of the comparison circuit 6 a to discharge.

A reference pulse signal 14 a is generated when both the input clocksignal 8 a and the predictor out signal 64 a are high, as shown in FIG.2. The reference pulse signal 14 a is provided to a comparison circuit 6and may, for example, be used to generate a comparison voltage. In someembodiments, the reference pulse signal 14 a can be generated directlyby the input clock signal, a reference clock signal, and/or based on oneor more input and/or generated signals. For example, in someembodiments, the reference pulse signal 14 a may be generated by a PLLcircuit.

FIG. 6 illustrates one embodiment of a TDC circuit 102 including a pulsegenerator 104 and a spatial division multiplexing (SDM) circuit 106. TheTDC circuit 102 is configured to count a time difference between twoclock signals, such as, a time difference between the rising edges oftwo clock signals, an input clock signal 8 and a reference clock signal10. The pulse generator 104 is configured to generate one or more pulsesbased on one or more input signals. For example, in the illustratedembodiment, the pulse generator 104 receives an input clock signal 8 anda reference clock signal 10 and generates a time delta pulse 112. Thepulse generator 104 can generate additional signals, such as, forexample, a reference pulse signal, a polarity signal, a dump pulsesignal, and/or one or more additional signals. The pulse generator 104may include, for example, a time delta detector as described above withreference to FIG. 2. The time delta pulse 112 is provided to the SDMcircuit 106.

The SDM circuit 106 is configured to generate a comparison result signal16. The comparison result signal 16 is indicative of one or more bits ofa binary count of the time difference between the input clock signal 8and the reference clock signal 10. The comparison result signal may begenerated by, for example, comparing voltage values generated over adelta pulse 112 period. For example, in some embodiments, a differencebetween a first voltage value generated over a delta pulse period 112and a second voltage value corresponds to at least one bit of a count ofa time difference between a rising edge of the input clock signal 8 andthe reference clock signal 10. In some embodiments, the SDM circuit 106includes a convertor 116 and a quantizer circuit 118. As discussed inmore detail below, in some embodiments, the convertor circuit 116comprises one or more circuits configured to convert a pulse period,such as, for example, the delta pulse period, into a reference voltage.The quantizer 118 comprises one or more circuits configured to quantizethe voltages generated by the convertor circuit 116 into a binaryoutput, such as, for example, the comparison result signal 16. Thecomparison result signal 16 generated by the SDM circuit 106 is providedto a counter 120. The counter 120 is configured to maintain the count ofthe time difference between the input clock signal 8 and the referenceclock signal 10. The counter 120 outputs the final count result 122.

FIG. 7 illustrates one embodiment of an SDM circuit 106 a. The SDMcircuit 106 a includes a first convertor 116 a and a second convertor116 b. The first convertor 116 a includes a first switch 124 a. Thefirst switch 124 a is controlled by the delta pulse signal 112. When thedelta pulse signal 112 is high, the first switch 124 a is closed andwhen the delta pulse 112 is low, the first switch 124 a is open. Acharging source 126 a is coupled to a first side of the first switch 124a. The charging source 126 a provides a charging current of I_(fix).When the first switch 124 a is in a closed position, the charging source126 a charges a capacitor 128 a. The capacitor 128 a includes acapacitance C_(fix). The voltage potential developed on the capacitor128 a is provided to an input of a quantizer circuit 118 a. A second, ordump, switch 130 a is coupled to the capacitor 128 a and controlled by adump pulse. When the dump pulse is high, the capacitor 128 a dischargesand resets the first converter 116 a. In some embodiments, the dumppulse is generated by the pulse generator 104.

The second convertor 116 b includes a first switch 124 b. The firstswitch 124 b is controlled by an input pulse signal 8 such that when theinput pulse signal 8 is high, the first switch 124 b is closed and whenthe input pulse signal 8 is low, the first switch 124 b is open. Acharging source 126 b is coupled to a first side of the first switch 124b. The charging source 126 b provides a charging current equal to thecharging current provided by the charging source 126 a, e.g., I_(fix).When the first switch 124 b is in a closed position, the charging source126 b charges a capacitor 128 b. The capacitor 128 b includes acapacitance of N*C_(fix), where N is the number of bits of resolutionused in the binary count of the time difference between a rising edge ofthe input clock signal 8 and a rising edge of the reference clock signal10. The voltage potential developed on the capacitor 128 b is providedto an input of the quantizer circuit 118 a. A second, or dump, switch130 b is coupled to the capacitor 128 b and controlled by a dump pulse.When the dump pulse is high, the capacitor 128 b discharges and resetsthe second convertor 116 b.

The voltage output of the first convertor 116 a and the second convertor116 b are provided as inputs to the quantizer circuit 118 a. The voltageoutput of the first convertor 116, V_(delta), is provided to a firstsource 132 a of the quantizer 118 a. The first source 132 a generates acharging current that charges a capacitor 134. The voltage potentialdeveloped on the capacitor 134 is provided as a first input of acomparator 136. The voltage potential developed on the capacitor 134 iscompared to a reference voltage, V_(ref). The output of the comparator136 is provided to the counter 120 as one bit of the binary count of thetime difference between the input clock signal 8 and the reference clocksignal 10. The output of the comparator 136 is coupled to a switch 140.When the output of the comparator 136 is high, the switch 140 is closed.When then output of the comparator 136 is low, the switch 140 is open.The switch 140 couples a second source 132 b to the capacitor 134. Thesecond source 132 b receives an input voltage, V_(in), from the secondconvertor 116 b. The second source 132 b is configured to adjust thevoltage of the capacitor 134 to weight the output of the comparator 136based on the position of the binary bit of the count, e.g., from the MSBto the LSB. When the second source 132 b is coupled to the capacitor(e.g., the output of the comparator 136 is high), the second source 132b reduces the input current and/or voltage of the firsts source 132 a,resulting in a lower voltage being developed in the capacitor 134.

The counter 120 a maintains a count of the time difference between arising edge of the input clock signal 8 and a rising edge of thereference clock signal 10. The counter 120 a comprises one or morecircuit elements configured to maintain the count, such as, for example,registers, latches, and/or any other suitable elements. The count isbased on the input received from the comparator 136. The finalconversion result output 122 is generated by the counter 120 a when allof the bits of the count have been determined by the comparator 136. Thecounter 120 a may be any suitable counter such as, for example, anasynchronous counter. A reference clock signal 142 of N*T_(in) iscoupled to a reset of the counter 120 a, where N is the number of bitsof resolution in the count and T_(in) is the pulse time of the inputpulse signal 8.

FIG. 8 is a flowchart illustrating one embodiment of a method 200 forcounting a time difference between a first input signal and a secondinput signal. In a first step 202, a pulse generator receives a firstinput signal and a second input signal. For example, a pulse generator 4or a pulse generator 104 can receive an input clock signal 8 and areference clock signal 10. In a second step 204, the pulse generatorgenerates one or more signals based on the first input signal and thesecond input signal. The generated pulses can include, for example, adelta pulse signal, a reference pulse signal, a polarity signal, and/ora dump pulse signal.

In a third step 206, one or more of the generated signals and/or one ormore of the input signals are received by a comparison circuit. In afourth step 208, the comparison circuit generates a first voltage valueand a reference voltage value. The first voltage value and/or thereference voltage value can be generated by charging one or morecapacitors. For example, in one embodiment, a first voltage is generatedby charging a set of capacitors selected from a plurality of capacitors.The set of capacitors are charged by closing a switch to connect thecapacitors to a charging source. The switch can be controlled by one ofthe signals generated by the pulse generator, such as, for example, thedelta pulse signal. As another example, the reference voltage can begenerated by charging a capacitor by closing a switch to connect thecapacitor to a charging source. The switch can be controlled by one ofthe signals generated by the pulse generator, such as, for example, thereference pulse signal.

In a fifth step 210, the comparison circuit compares the first voltageand the reference voltage and outputs a comparison signal representativeof a bit of the count of the time difference between the first inputsignal and the second input signal. For example, in one embodiment, ifthe first voltage is greater than the reference voltage, the comparisoncircuit generates a high, or binary 1, output. In a sixth step 212, thecomparison signal is received by a counter that maintains a binary countof the time difference between the first input signal and the secondinput signal. The counter may be, for example, a stand-alone regulator(SAR) control circuit and/or a binary counter circuit. The counter isupdated based on the comparison signal received by the counter. In aseventh step 214, the counter generates a control signal to weight theoutput of the comparison circuit based on a bit position within thebinary count. In an eighth step 216, the counter outputs a final countof the time difference between the first input signal and the secondinput signal.

In some embodiments, a circuit is disclosed. The circuit includes a timedelta detector configured to receive an input clock signal and areference clock signal. The time delta detector generates a delta pulsesignal and a reference pulse signal. A comparison circuit is configuredto receive the delta pulse signal and the reference pulse signal. Thecomparison circuit generates an output indicative of a bit of a timedifference between the input clock signal and the reference clocksignal. A control circuit configured to receive the output from thecomparison circuit, and wherein the control circuit maintains a count ofthe time difference between the input clock signal and the referenceclock signal.

In some embodiments the time delta detector generates the delta pulsesignal and the reference pulse signal based on state changes of theinput clock signal and the reference clock signal. In some embodiments,the time delta detector includes a reference frequency predictor. Insome embodiments, the time delta detector is configured to generate apolarity signal, a dump pulse, and a delayed reference clock signal.

In some embodiments, a first input to the comparison circuit, caninclude a first input source and a plurality of capacitors coupled inparallel between the input source and the comparator. The plurality ofcapacitors can include N capacitors, where N is a number of bits ofresolution in the count of the time difference between the rising edgeof the input clock signal and the rising edge of the reference clocksignal. The capacitance of the plurality of capacitors can be the group{2^(N−1)C, 2^(N−2)C . . . C}.

In some embodiments, a second input to the comparison circuit includes asecond input source and an input capacitor coupled in parallel betweenthe second input source and the comparison circuit. The input capacitorcan have a capacitance of 2^(N)C. In some embodiments, the first inputsource and the second input source are identical. The control circuitcan be configured to control the plurality of capacitors to weight theoutput of the comparison circuit.

In some embodiments, the circuit includes a plurality of switchescomprising N switches. Each of the plurality of capacitors is coupled toa respective switch of the plurality of switches. The control circuit isconfigured to control the plurality of switches to weight the output ofthe comparison circuit.

In some embodiments, a circuit includes a pulse generator configured toreceive an input clock signal and a reference clock signal and generatea delta pulse signal. A spatial division multiplexing circuit isconfigured to receive the delta pulse and the reference clock signal andgenerate an output indicative of the time difference between the inputclock signal and the reference clock signal. A counter is configured tomaintain a count of the time difference between the input clock signaland the reference clock signal.

In some embodiments, the spatial division multiplexing circuit includesat least one convertor circuit and at least one quantizer circuit. Theat least one convertor circuit can include a charging source coupled toa first side of a switch and a capacitor coupled to a second side of theswitch. The switch is controlled by a pulse generated by the pulsegenerator. The at least one convertor circuit generates an outputvoltage.

In some embodiments, the circuit includes a first convertor circuit anda second convertor circuit. The first convertor circuit is controlled bya delta pulse generated by the pulse generator. The second convertorcircuit is controlled by an input pulse. The quantizer can include afirst source and a second source. The first source generates an inputcurrent based on an output voltage of the first convertor circuit andthe second source generates an input current based on an output voltageof the second source. The quantizer can be a comparator configured toreceive a first input voltage and a second input voltage. The firstinput voltage is generated by a capacitor coupled to the first sourceand the second source. The second input voltage of the comparator can bea reference voltage.

In some embodiments, a method of time to digital conversion isdisclosed. The method includes receiving an input clock signal and areference clock signal. A delta pulse signal and a reference pulsesignal are generated from the input clock signal and the reference clocksignal. A first voltage is generated based on a pulse time of the deltapulse signal and a second voltage is generated based on a pulse time ofthe reference pulse signal. The first voltage and the second voltage arecompared to generate a count of the time difference between the inputclock signal and the reference clock signal. In some embodiments, thefirst voltage is generated by connecting a set of capacitors to a firstinput of a comparator, connecting the set of capacitors to a firstcharging source, and charging the set of capacitors over the pulse timeof the delta pulse signal. The set of capacitors can be connected to thecharging source by a switch controlled by the delta pulse signal. Insome embodiments, the second voltage is generated by connecting areference capacitor to a second input of the comparator, connecting thereference capacitor to a second charging source, and charging thereference capacitor over the pulse time of the reference pulse signal.The reference capacitor is connected to the second charging source by aswitch controlled by the reference pulse signal. The second chargingsource can be identical to the first charging source

Although the invention has been described in terms of exemplaryembodiments, it is not limited thereto. Rather, the appended claimsshould be construed broadly, to include other variants and embodimentsof the invention, which may be made by those skilled in the art withoutdeparting from the scope and range of equivalents of the invention.

What is claimed is:
 1. A circuit, comprising: a pulse generatorconfigured to receive an input clock signal and a reference clock signaland generate a delta pulse signal; a spatial division multiplexingcircuit configured to receive the delta pulse signal and the referenceclock signal and generate an output indicative of a time differencebetween the input clock signal and the reference clock signal; and acounter configured to maintain a count representing the time differencebetween the input clock signal and the reference clock signal.
 2. Thecircuit of claim 1, wherein the spatial division multiplexing circuitcomprises at least one convertor circuit and at least one quantizercircuit.
 3. The circuit of claim 2, wherein the at least one convertorcircuit comprises a charging source coupled to a first side of a switchand a capacitor coupled to a second side of the switch, wherein theswitch is controlled by a pulse generated by the pulse generator, andwherein the at least one convertor circuit generates an output voltage.4. The circuit of claim 3, wherein the at least one convertor circuitcomprises a dump switch coupled to the second side of the switch and thecapacitor, wherein the dump switch is configured to discharge thecapacitor.
 5. The circuit of claim 3, wherein the charging source is acurrent source.
 6. The circuit of claim 2, wherein the at least oneconvertor circuit comprises a first convertor circuit and a secondconvertor circuit, wherein the first convertor circuit is controlled bya delta pulse generated by the pulse generator, and wherein the secondconvertor circuit is controlled by an input pulse.
 7. The circuit ofclaim 6, wherein the at least one quantizer comprises a first source anda second source, wherein the first source generates an input currentbased on an output of the first convertor circuit and the second sourcegenerates an input current based on an output of the second convertorcircuit.
 8. The circuit of claim 7, wherein the quantizer comprises acomparator configured to receive a first input voltage and a secondinput voltage, wherein the first input voltage is generated by acapacitor coupled to the first source and the second source.
 9. Thecircuit of claim 8, wherein the second input voltage of the comparatorcomprises a reference voltage.
 10. The circuit of claim 8, wherein thereference clock signal is provided to the comparator as a reset signal.11. The circuit of claim 1, wherein the pulse generator comprises a timedelta detector.
 12. The circuit of claim 11, wherein the time deltadetector generates the delta pulse signal and the reference pulse signalbased on state changes of the input clock signal and the reference clocksignal.
 13. The circuit of claim 11, wherein the time delta detectorcomprises a reference frequency predictor.
 14. The circuit of claim 11,wherein the time delta detector is configured to generate a polaritysignal, a dump pulse, and a delayed reference clock signal.
 15. A methodof time-to-digital conversion, the method comprising: receiving an inputclock signal and a reference clock signal; generating a delta pulsesignal from the input clock signal and the reference clock signal;coupling a first capacitor to a first source during a first perioddefined by the delta pulse signal; coupling a second capacitor to asecond source during a second period defined by the input clock signal;and comparing a total voltage generated by the first and secondcapacitors to a reference voltage; and incrementing a countrepresentative of a time difference between the input signal and thereference clock signal based on the total voltage.
 16. The method ofclaim 15, wherein the first capacitor is coupled to the first source bya first switch configured to receive the delta pulse signal and thesecond capacitor is coupled to the second source by a second switchconfigured to receive the input clock signal.
 17. The method of claim15, wherein the total voltage is generated by coupling the first andsecond capacitors to a third capacitor, and wherein the third capacitoris charged by a voltage difference between the first and secondcapacitors.
 18. A circuit, comprising: a pulse generator configured toreceive an input clock signal and a reference clock signal and generatea delta pulse signal and an input pulse signal; a spatial divisionmultiplexing circuit configured to receive the delta pulse signal andthe input pulse signal and generate an output indicative of a timedifference between the input clock signal and the reference clocksignal; and a counter configured to maintain a count representative ofthe time difference between the input clock signal and the referenceclock signal.
 19. The circuit of claim 18, wherein the spatial divisionmultiplexing circuit comprises a first convertor circuit configured toreceive the delta pulse signal and generate a delta voltage output and asecond convertor circuit configured to receive the input pulse signaland generate an input voltage output.
 20. The circuit of claim 19,wherein each of the first and second convertor circuits comprise acharging source coupled to a first side of a switch and a capacitorcoupled to a second side of the switch, wherein the switch is controlledby one of the delta pulse signal or the input pulse signal.